package com.lonely.fx.tree_view.entity;

import javafx.scene.control.TreeItem;

/**
 * @date: 2022-08-04 12:25
 * @author: ztkj-hzb
 * @description: 测试拖拽的实体
 **/
public class TestDragDto {


    private TreeItem<String> sourceTreeItem;

    private Integer sourceIndex;

    private String sourceData;

    public TreeItem<String> getSourceTreeItem() {
        return sourceTreeItem;
    }

    public TestDragDto setSourceTreeItem(TreeItem<String> sourceTreeItem) {
        this.sourceTreeItem = sourceTreeItem;
        return this;
    }

    public Integer getSourceIndex() {
        return sourceIndex;
    }

    public TestDragDto setSourceIndex(Integer sourceIndex) {
        this.sourceIndex = sourceIndex;
        return this;
    }

    public String getSourceData() {
        return sourceData;
    }

    public TestDragDto setSourceData(String sourceData) {
        this.sourceData = sourceData;
        return this;
    }
}
